Main Page | Data Structures | File List | Data Fields | Globals

BustaModelCursor Class Reference

Game Cursor. More...

#include <BustaModelCursor.h>


Public Member Functions

 BustaModelCursor ()
 Constructor.
 ~BustaModelCursor ()
 Destructor.
BustaModelPositiongetPosition ()
 Gets cursor position.
void setPosition (int x, int y)
 Sets Positino of cursor sets Position of cursor via x,y coordinates.
int getAlignment ()
 gets alignment of cursor Gets the alignment of the cursor, returning enum type of alignment
void setAlignment (int a)
 sets alignment of cursor sets the alignment of the cursor
int getModifier ()
 gets cursor modifier Gets current modifier on cursor - this affects whether moves are made via regular keybindings or not
void setModifier (int m)
 sets cursor modifier Sets the cursor modifier


Detailed Description

Game Cursor.

Cursor for gameboard, has position and alignment, which specifies secondary position. Modifier includes whether chef is confused, etc.


Constructor & Destructor Documentation

BustaModelCursor::BustaModelCursor  ) 
 

Constructor.

Initializes variables

BustaModelCursor::~BustaModelCursor  ) 
 

Destructor.

Deletes position variable


Member Function Documentation

BustaModelPosition * BustaModelCursor::getPosition  ) 
 

Gets cursor position.

Gets the current board position of the cursor


Generated on Sun Aug 14 22:24:56 2005 for BustaSandwich Models by  doxygen 1.4.2-20050421